﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="IntellectShop.Web2.Code" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Html.Resource("Strings, Upload") %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

	<h1><%= Html.Resource("Strings, Upload")%></h1>
	<div>
		<h2><%= Html.Resource("Strings, PriceUpload")%></h2>
		<% using (Html.BeginForm("UploadPriceList", "File", FormMethod.Post, new { enctype = "multipart/form-data" }))
		{%>
			<div class="row">
				<span class="formlabel">
					<%= Html.Resource("Filename")%>:
				</span><span class="forminput">
					<input type="file" name="file" id="file1" />
				</span>
			</div>
			<div class="spacer">&nbsp;</div>
			<div class="row">
				<span class="formlabel"></span>
				<span class="forminput">
					<input type="submit" value="<%= Html.Encode(Html.Resource("Strings, Submit"))%>" class="submit"/>
				</span>
			</div>
		<% } %>
	</div>

	<div style="margin-top: 50px;">
		<h2><%= Html.Resource("Strings, CommodityUpload")%></h2>
		<% using (Html.BeginForm("UploadCommodity", "File", FormMethod.Post, new { enctype = "multipart/form-data" }))
		{%>
			<div class="row">
				<span class="formlabel">
					<%= Html.Resource("Filename")%>:
				</span><span class="forminput">
					<input type="file" name="file" id="file2" />
				</span>
			</div>
			<div class="spacer">&nbsp;</div>
			<div class="row">
				<span class="formlabel"></span>
				<span class="forminput">
					<input type="submit" value="<%= Html.Encode(Html.Resource("Strings, Submit"))%>" class="submit"/>
				</span>
			</div>
		<% } %>
	</div>
</asp:Content>
